/*
 * @date 	: 2016/08/01	
 * @author	: W.TBF
 * @model   : 首页布局
*/

* { margin: 0; padding: 0; }
body {
	font-size: 12px;
	width: 304px;
	height: 504px;
	font-family: "微软雅黑";
/*    -webkit-app-region: drag;
    -webkit-user-select: none;*/
}
.hide {display: none !important;}

/* wrapper */
.wrapper {
	width: 304px;
	height: 504px;
	background: #fff;
	border: 1px solid #ddd;
	margin: 30px auto;
	overflow: hidden;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
/*	-webkit-app-region: drag;
    -webkit-user-select: none;*/
}

/* top-nav */
.top-nav {
	height: 30px;
	width: 100%;
	background: rgb(42,159,238);
    display:-moz-box;
    display:-webkit-box;
    display:box;
}

/*顶部左侧导航按钮*/
.top-nav .left-nav {
    -moz-box-flex:1;
    -webkit-box-flex:1;
    box-flex:1;
    text-align: left;
    overflow: hidden;
}
.top-nav .left-nav i {
	margin: 10px 10px 0px 10px;
	display: inline-block;
	font-size: 10px;
	font-weight: bold;
	color: #fff;
}
/*.top-nav .left-nav i:first-child {
	width: 12px;
	height: 14px;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
}*/
.top-nav .left-nav i:last-child {
	margin: 0;
	font-size: 14px;
}


/*顶部右侧导航按钮*/
.top-nav .right-nav {
    -moz-box-flex:1;
    -webkit-box-flex:1;
    box-flex:1;
    text-align: right;
}

.top-nav .right-nav > i:first-child {
	font-size: 16px;
	display: inline-block;
	margin: 9px 10px 0px 0px;
	color: #fff;
}


/*功能导航*/
.action-nav {
	width: 100%;
	height: 34px;
	line-height: 34px;
    background: rgb(42,159,238);
    padding: 0px 30px;
}
.action-nav  ul{
    display:-moz-box;
    display:-webkit-box;
    display:box;
	-moz-box-align:center;
	-webkit-box-align:center;
	-o-box-align:center;
	box-align:center;
	-moz-box-pack:justify;
	-webkit-box-pack:justify;
	-o-box-pack:justify;
	box-pack:justify;	
}
.action-nav  ul li{
	list-style: none;
    -moz-box-flex:1;
    -webkit-box-flex:1;
    box-flex:1;	
    color: rgba(255,255,255,0.5);
}
.action-nav  ul li.active {
	color: #fff;
}



/*选择项目文件*/
.choose-file {
	margin-top: 2px
	height: 60px;
	line-height: 60px;
	background: #fff;
	border: 1px dashed #b7b7b7;
}
.choose-file > p {
	text-align: center;
	letter-spacing: 1px;
	color: rgba(0,0,0,	0.5);
	/*border: 1px */
}


/*项目目录列表*/
.list-item {
	margin-top: 10px;
	height: 30px;
	line-height: 30px;
    display:-moz-box;
    display:-webkit-box;
    display:box;
	-moz-box-align:center;
	-webkit-box-align:center;
	-o-box-align:center;
	box-align:center;
	-moz-box-pack:justify;
	-webkit-box-pack:justify;
	-o-box-pack:justify;
	box-pack:justify;	
	border-bottom: 1px dashed rgba(0,0,0,0.5);	
}
.list-item i {
	width: 16px;
}
.list-item i:first-child {
	margin: 0px 10px;
}
.list-item p{
	line-height: 30px;
	display: block;
    -moz-box-flex:1;
    -webkit-box-flex:1;
    box-flex:1;	
	text-align: left;
}
.list-item i:last-child {
	margin: 0px 10px 0px 0px;
}




/*功能操作*/
.action-item {
    display:-moz-box;
    display:-webkit-box;
    display:box;
    padding: 0px 10px;
    margin-top: 10px;
}
.action-item button {
	display: block;
	margin-right: 10px;
	padding: 6px 10px;
	background: red; 
	color: #fff;
	border: none;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    -moz-box-flex:1;
    -webkit-box-flex:1;
    box-flex:1;	
    letter-spacing: 1px;
    outline: none;
}
.action-item button.status {
	background: #f0ad4e; 
}
.action-item button.add {
	background: #5bc0de; 
}
.action-item button.commit {
	margin-right: 0px;
	background: #5cb85c; 
}
.action-item button.merge {
	background: #337ab7;
	margin-right: 0px;
}
.action-item button.update {
	background: #5bc0de;
}
/*提交说明*/
.commit-txt {
	padding: 0px 10px;
	margin-top: 10px;
    display:-moz-box;
    display:-webkit-box;
    display:box;
}
.commit-txt label {
	margin-right: 10px;
	height: 22px;
	line-height: 22px;
}
.commit-txt input{
	outline: none;
	height: 22px;
	line-height: 22px;
	display: block;
    -moz-box-flex:1;
    -webkit-box-flex:1;
    box-flex:1;	
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.commit-txt i {
	margin-left: 10px;
	line-height: 22px;
}


/*可视化logo日志*/
.log {
	margin-top: 10px;
	height: 140px;
	background: #000;
	overflow: hidden;
	position: relative;
}
.clear-log {
	position: absolute;
	right: 10px;
	top: 10px;
	color: #fff;
}